<com:TPanel id="PortletEditMode" Style="border-bottom: 1px solid black; margin: 0px 0px 0px 0px; text-align: right;">
	<com:TImageButton OnClick="MoveButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_next.gif" Text="<%[Move to another area]%>" />
	<com:TImageButton OnClick="UpButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_up.gif" Text="<%[Move portlet up]%>" />
	<com:TImageButton OnClick="DownButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_down.gif" Text="<%[Move portlet down]%>" />
	<com:TImageButton OnClick="PropertyButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_form.png" Text="<%[Properties]%>" />
	<com:TImageButton OnClick="DeleteButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_delete.png" Text="<%[Remove portlet]%>" Attributes.onclick="if(!confirm('<%= Prado::localize('Are you sure?') %>')) return false;" />
</com:TPanel>
<com:TPanel DefaultButton="LoginButton" GroupingText="<%[Login]%>">
	<table>
		<tr>
			<td colspan="2"><%[Username]%></td>
		</tr>
		<tr>
			<td colspan="2">
				<com:TTextBox ID="Username" />
				<com:TRequiredFieldValidator ControlToValidate="Username" ValidationGroup="login" Text="<%[...is required]%>" Display="Dynamic"/>
				<com:TCustomValidator ControlToValidate="Password" ValidationGroup="login" Text="<%[Username is invalid]%>" Display="Dynamic" OnServerValidate="validateUserName" />
			</td>
		</tr>
		<tr>
			<td colspan="2"><%[Password]%></td>
		</tr>
		<tr>
			<td colspan="2">
				<com:TTextBox ID="Password" TextMode="Password" />
				<com:TRequiredFieldValidator ControlToValidate="Password" ValidationGroup="login" Text="<%[...is required]%>" Display="Dynamic"/>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<com:TCheckBox ID="RememberMe" Text="<%[Remember me]%>" />
			</td>
		</tr>
		<tr>
			<td colspan="2"><hr/></td>
		</tr>
		<tr>
			<td><com:TLinkButton ID="LoginButton" Text="<%[Login]%>" CausesValidation="true" ValidationGroup="login" CssClass="link-button" OnClick="loginButtonClicked" /></td>
			<td style="text-align: right;"><com:THyperLink Text="<%[Register]%>" NavigateUrl=<%= $this->Service->constructUrl('System.NewUser') %> Visible=<%= TPropertyValue::ensureBoolean($this->Application->Parameters['MultipleUser']) %> CssClass="link-button" /></td>
		</tr>
		<tr>
			<td colspan="2"><br/>
				<com:THyperLink Id="ForgottenPassword" Text="<%[Forgotten password]%>" NavigateUrl=<%= $this->Service->constructUrl('System.ForgottenPassword') %> />
			</td>
		</tr>
	</table>
</com:TPanel>
